<meta name="keywords" content="EMS">
<meta name="description" content="EMS">
<%-- start link css file --%>

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1">
<link media="screen" rel="stylesheet" href="${ctx}/resources/css/style.css"/>
<link media="screen" rel="stylesheet" href="${ctx}/resources/css/smartpaginator.css"/>
<script type="text/javascript" src="${ctx}/resources/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="${ctx}/resources/js/header.js"></script>
<script type="text/javascript" src="${ctx}/resources/js/smartpaginator.js"></script>
<script type="text/javascript" src="${ctx}/resources/js/jquery.poshytip.js"></script>

<!-- goEazy -->
<script type="text/javascript" src="https://cdn.goeasy.io/goeasy.js"></script>
<script type="text/javascript">
  window.ctx = '${ctx}'; //javascript context
	var goeasy = new GoEasy({
		appkey: 'BC-b09ba24bad60416494f62f3f71a0615e'
	});

	goeasy.subscribe({
		channel: 'test_go',
		onMessage: function (result) {
			console.log("00000");
			console.log("You hava a new message: " + result.content);
			var audio = document.createElement("audio");
			audio.src = "http://120.76.214.54:8665/music/dindon_new_order.mp3";//
			audio.play();
		}
	});
</script>